package com.qijian.maindata.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qijian.maindata.domain.Factory;
import com.qijian.maindata.domain.query.FactoryQuery;
import com.qijian.maindata.domain.query.ProcessQuery;
import com.qijian.maindata.domain.vo.FactoryVo;
import com.qijian.maindata.domain.vo.ProcessVo;

import java.util.List;

/**
 * 工厂Service接口
 *
 * @author ruoyi
 * @date 2021-08-19
 */
public interface IFactoryService extends IService<Factory> {

    Page<FactoryVo> pageVo(Page<Factory> page, Wrapper<FactoryQuery> queryWrapper);

    List<FactoryVo> listVo(Wrapper<FactoryQuery> queryWrapper);

    FactoryVo getVoById(Long id);

    Page<ProcessVo> processPageVo(Page<ProcessVo> page, Wrapper<ProcessQuery> queryWrapper);

    List<FactoryVo> selectFactoryAll();

    List<String> selectPostListByUserId(Long userId);
}
